package br.eng.eliseu.gwt.gestaoWeb.server.util;

import java.io.File;
import java.io.FilenameFilter;

public class UpperCaseFileNameFilter implements FilenameFilter{

	private String name;
	public UpperCaseFileNameFilter(String name){
		this.name=name.toUpperCase();
	}
	
	public boolean accept(File dir, String name) {
		return name.toUpperCase().equals(this.name);
	}

}
